package com.fanctoryexample.demo.funcfactory;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public class FuncFactoryTest {

    public static void main(String[] args) {
        Factory factory = new MengniuFactory();
        factory.getMilk().getName();
    }
}
